<template lang="">
    <div class="add-clasify"> 
        <h2>修改分类:</h2>
        <el-form ref="form" :model="form" label-width="80px">
  <el-form-item label="上级目录">
    <el-input v-model="form.name" disabled></el-input>
  </el-form-item>
  <el-form-item label="分类名称">
    <el-input v-model="form.ifyname"></el-input>
  </el-form-item>
   <el-form-item label="备注">
    <el-input v-model="form.note"></el-input>
  </el-form-item>
    <el-form-item label="排序">
    <el-input v-model="form.order"></el-input>
  </el-form-item>
  <el-form-item>
    <el-button type="primary" @click="onSubmit">保存</el-button>
    <el-button>取消</el-button>
  </el-form-item>
</el-form>
    </div>
</template>
<script>
export default {
    data() {
      return {
        form: {
          name: '武器',
          ifyname: '',
          note: '',
          order: '',
         
        }
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      }
    }
  }
</script>
<style scope>
 h2{padding:15px}
</style>